﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace sonicERPinterfaceCsharp.Forms
{
    class Classvalidacao
    {
        public KeyPressEventArgs Enter(KeyPressEventArgs e)
        {
            
            // habilar o enter do form altere a propriedade keyprien para true

            if (e.KeyChar == Convert.ToChar(13))
            {
                e.Handled = true;
                SendKeys.Send("{TAB}");
            }
            return e;

           
        }

       
          }
        


    }

